<?php
/* @var $this ProveedorController */
/* @var $model proveedor */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'Código Proveedor'); ?>
		<?php echo $form->textField($model,'Pro_idproveedor_PK',array('size'=>30,'maxlength'=>30,"class"=>"form-group  form-control")); ?>
		<?php echo $form->error($model,'Pro_idproveedor_PK'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Nombre'); ?>
		<?php echo $form->textField($model,'Pro_nombre',array('size'=>25,'maxlength'=>25,"class"=>"form-group  form-control")); ?>
		<?php echo $form->error($model,'Pro_nombre'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Teléfono'); ?>
		<?php echo $form->textField($model,'Pro_telefono',array('size'=>15,'maxlength'=>15,"class"=>"form-group  form-control")); ?>
		<?php echo $form->error($model,'Pro_telefono'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Fax'); ?>
		<?php echo $form->textField($model,'Pro_fax',array('size'=>15,'maxlength'=>15,"class"=>"form-group  form-control")); ?>
		<?php echo $form->error($model,'Pro_fax'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Dirección'); ?>
		<?php echo $form->textArea($model,'Pro_direccion',array('size'=>60,'maxlength'=>100,"class"=>"form-group  form-control textarea")); ?>
		<?php echo $form->error($model,'Pro_direccion'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Cedúla'); ?>
		<?php echo $form->textField($model,'Pro_cedula',array('size'=>15,'maxlength'=>15,"class"=>"form-group  form-control")); ?>
		<?php echo $form->error($model,'Pro_cedula'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Buscar',array("class"=>"bottom")); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->